<?php
/**
 * SocialEnginePro
 *
 * @category   Application_Extensions
 * @package    
 * @author     Azim
 */

/**
 * @category   Application_Extensions
 * @package    
 */
?>
<script type="text/javascript">
//<![CDATA[
  window.addEvent('domready', function() {
    $('sort').addEvent('change', function(){
      $(this).getParent('form').submit();
    });
    
    $('search').addEvent('change', function(){
      $(this).getParent('form').submit();
    });
  })
//]]>
</script>
<?php if( $this->formValues ): ?>
  <?php echo $this->formFilter->setAttrib('class', 'filters')->render($this);?>
<?php endif ?>
